package queue;

public interface DeQueue<E> {
    boolean offerFirst(E e);
    boolean offerLast(E e);
    E pollFirst(E e);
    E pollLast(E e);
    E peekFirst(E e);
    E peekLast(E e);
    boolean isEmpty();
    boolean isFull();
}
